package com.settlement.system.model.entity.common;

import java.util.Date;

import java.io.Serializable;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.settlement.system.converter.BigNumberTabFormatConvert;
import com.settlement.system.converter.DateFormatConvert;
import com.settlement.system.converter.DateFormatYearMonthConvert;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * AP_702收退货明细报表（公测期仅供参考）
 * @author Ximi
 * @since 2020-10-19
 */
@Data
@ExcelIgnoreUnannotated
@HeadStyle(fillBackgroundColor = 9,fillForegroundColor = 9)
@HeadRowHeight(value = 20)
@HeadFontStyle(fontHeightInPoints = 14)
public class TblWpReceiveRefundDetail extends BaseModel implements Serializable {


    /**
     * 供应商编码
     */
    @ExcelProperty(value = "供应商编码")
    @ApiModelProperty(value = "供应商编码")
    private String vendorCode;

    /**
     * 供应商名称
     */
    @ExcelProperty(value = "供应商名称")
    @ApiModelProperty(value = "供应商名称")
    private String vendorName;

    /**
     * 业务发生期间
     */
    @ExcelProperty(value = "业务发生期间",converter = DateFormatYearMonthConvert.class)
    @ApiModelProperty(value = "业务发生期间")
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private Date period;

    /**
     * 事务日期
     */
    @ExcelProperty(value = "事务日期",converter = DateFormatConvert.class)
    @ApiModelProperty(value = "事务日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date outDate;

    /**
     * po
     */
    @ExcelProperty(value = "po",converter = BigNumberTabFormatConvert.class)
    @ApiModelProperty(value = "po")
    private String poNo;

    /**
     * 币种
     */
    @ExcelProperty(value = "币种")
    @ApiModelProperty(value = "币种")
    private String poCurrency;

    /**
     * 原po
     */
    @ExcelProperty(value = "原po",converter = BigNumberTabFormatConvert.class)
    @ApiModelProperty(value = "原po")
    private String origPoNo;

    /**
     * 合作模式
     */
    @ExcelProperty(value = "合作模式")
    @ApiModelProperty(value = "合作模式")
    private String cooperationMode;

    /**
     * 品牌编码
     */
    @ExcelProperty(value = "品牌编码")
    @ApiModelProperty(value = "品牌编码")
    private String brandNo;

    /**
     * 品牌名称
     */
    @ExcelProperty(value = "品牌名称")
    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    /**
     * 条码
     */
    @ExcelProperty(value = "条码",converter = BigNumberTabFormatConvert.class)
    @ApiModelProperty(value = "条码")
    private String skuNo;

    /**
     * 货号
     */
    @ExcelProperty(value = "货号")
    @ApiModelProperty(value = "货号")
    private String itemNo;

    /**
     * 商品名称
     */
    @ExcelProperty(value = "商品名称")
    @ApiModelProperty(value = "商品名称")
    private String productName;

    /**
     * 收退货类型
     */
    @ExcelProperty(value = "收退货类型")
    @ApiModelProperty(value = "收退货类型")
    private String processType;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    @ApiModelProperty(value = "数量")
    private Integer quantity;

    /**
     * 收货单号
     */
    @ExcelProperty(value = "收货单号",converter = BigNumberTabFormatConvert.class)
    @ApiModelProperty(value = "收货单号")
    private String receiptNo;

    /**
     * 退供单号
     */
    @ExcelProperty(value = "退供单号",converter = BigNumberTabFormatConvert.class)
    @ApiModelProperty(value = "退供单号")
    private String refundNo;

    /**
     * 仓库编码
     */
    @ExcelProperty(value = "仓库")
    @ApiModelProperty(value = "仓库")
    private String warehouseNo;

    /**
     * 业务主体名称
     */
    @ExcelProperty(value = "业务主体名称")
    @ApiModelProperty(value = "业务主体名称")
    private String businessEntity;

    /**
     * po类型
     */
    @ApiModelProperty(value = "po类型")
    private String poType;

    /**
     * JITX合作模式
     */
    @ExcelProperty(value = "JITX合作模式")
    @ApiModelProperty(value = "JITX合作模式")
    private String jitxModel;

    /**
     * 数据来源
     */
    @ExcelProperty(value = "数据来源")
    @ApiModelProperty(value = "数据来源")
    private String dataSource;

    /**
     * 档期ID
     */
    @ExcelProperty(value = "档期ID")
    private String calendarId;
}
